import type { RouteConfig } from "./router";

export interface UserType {
  id: string;
  useName: string;
  permissions: RouteConfig[];
  accessToken?: string;
  refreshToken?: string;
}

export interface PermissionsType {
  id: string;
  pid: string;
  name: string;
  path: string;
}
